package cn.bdqn.mh.service.impl;

import cn.bdqn.mh.mapper.ArticleMapper;
import cn.bdqn.mh.pojo.Article;
import cn.bdqn.mh.service.ArticleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ArticleServiceImpl implements ArticleService {

    @Autowired
    private ArticleMapper articleMapper;

    @Override
    public List<Article> getVShare() {
        return articleMapper.getVShare();
    }

    @Override
    public List<Article> getNewsInformation() {
        return articleMapper.getNewsInformation();
    }

    @Override
    public List<Article> getSearchInformation() {
        return articleMapper.getSearchInformation();
    }
}
